//
//  AppDelegate.m
//  07-UITabBarControllerHomeWork
//
//  Created by 曹曹 on 16/7/22.
//  Copyright © 2016年 曹曹. All rights reserved.
//

#import "AppDelegate.h"
#import "ViewController.h"
#import "MessageViewController.h"
#import "FindViewController.h"
#import "MyViewController.h"
#import "RegisterViewController.h"
#import "VertificateViewController.h"

@interface AppDelegate ()

@end

@implementation AppDelegate

//1.按照拉钩页面tabBarController制作首页
//  素材自取, 设置tabBarItem
//  最后一个个人设置页中添加一个登录按钮, 弹出登录、注册和忘记密码(注意视图层级)
//2.隐藏tabBar, 按照<半糖>的tabBar样式自定义tabBar(自定义View)并实现点击效果
//3.每周一博(写一篇博客, 要求格式优于上周)
//4.预习tableView, 下周着重讲

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
    self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
    _window.backgroundColor = [UIColor whiteColor];
    [_window makeKeyAndVisible];
    ViewController *vc = [[ViewController alloc] init];
    UINavigationController *navigation = [[UINavigationController alloc] initWithRootViewController:vc];
    _window.rootViewController = navigation;
    return YES;
}

- (void)applicationWillResignActive:(UIApplication *)application {
    // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
    // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game.
}

- (void)applicationDidEnterBackground:(UIApplication *)application {
    // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.
    // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
}

- (void)applicationWillEnterForeground:(UIApplication *)application {
    // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background.
}

- (void)applicationDidBecomeActive:(UIApplication *)application {
    // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.
}

- (void)applicationWillTerminate:(UIApplication *)application {
    // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
}

@end
